/**********************************************************
 * Bankaccount.java
 * Created by ankur
 * Last modified Date: Sep 10, 2008 9:03:10 AM by ankur
 * Version : 0.1
 * Copyright (c) 2008 - 2008 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.dto;

/**
 * The Class Bankaccount.
 */

public class Bankaccount  implements java.io.Serializable {

    // Fields

     /** The account id. */
    private Integer accountId;

     /** The user. */
     private User user;

     /** The account type. */
     private AccountType accountType;

     /** The bank name. */
     private String bankName;

     /** The routing number. */
     private String routingNumber;

     /** The bank account number. */
     private String bankAccountNumber;

    // Constructors

    /**
     * Instantiates a new bankaccount.
     */
    public Bankaccount() {
    }

    /**
     * Instantiates a new bankaccount.
     *
     * @param user the user
     * @param accountType the account type
     * @param bankName the bank name
     * @param routingNumber the routing number
     * @param bankAccountNumber the bank account number
     */
    public Bankaccount(User user, AccountType accountType, String bankName, String routingNumber, String bankAccountNumber) {
        this.user = user;
        this.accountType = accountType;
        this.bankName = bankName;
        this.routingNumber = routingNumber;
        this.bankAccountNumber = bankAccountNumber;
    }

    // Property accessors

    /**
     * Gets the account id.
     *
     * @return the account id
     */
    public Integer getAccountId() {
        return this.accountId;
    }

    /**
     * Sets the account id.
     *
     * @param accountId the new account id
     */
    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    /**
     * Gets the user.
     *
     * @return the user
     */
    public User getUser() {
        return this.user;
    }

    /**
     * Sets the user.
     *
     * @param user the new user
     */
    public void setUser(User user) {
        this.user = user;
    }

    /**
     * Gets the account type.
     *
     * @return the account type
     */
    public AccountType getAccountType() {
        return this.accountType;
    }

    /**
     * Sets the account type.
     *
     * @param accountType the new account type
     */
    public void setAccountType(AccountType accountType) {
        this.accountType = accountType;
    }

    /**
     * Gets the bank name.
     *
     * @return the bank name
     */
    public String getBankName() {
        return this.bankName;
    }

    /**
     * Sets the bank name.
     *
     * @param bankName the new bank name
     */
    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

	public String getRoutingNumber() {
		return routingNumber;
	}

	public void setRoutingNumber(String routingNumber) {
		this.routingNumber = routingNumber;
	}

	public String getBankAccountNumber() {
		return bankAccountNumber;
	}

	public void setBankAccountNumber(String bankAccountNumber) {
		this.bankAccountNumber = bankAccountNumber;
	}


}